﻿<!--#include file="head.asp"-->
<body>
    <div class="container">
        <div class="header">
            <a href="/">
                <img class="ico" src="Content/Images/smalllogo.png" />
            </a>
            <ul id="nav" class="nav">
            </ul>
        </div>
        <div class="content picture">
            <div id="showplace" class="showplace">
                <div id="stage" class="stage">
                    <img id="dancer" src="content/pictures/001.jpg" class="unblock" />
                    <img id="loading" src="content/images/loading.gif" class="loading" alt="loading" />
                    <span id="last" class="last">&lt;</span> <span id="next" class="next">&gt;</span>
                    <div class="clr">
                    </div>
                </div>
            </div>
            <div class="imgnav">
                <a id="front" href="javascript:;" class="front">&lt;</a>
                <div class="dancers">
                    <div id="runer">
                        <%
                        set rst=server.createobject("adodb.recordset")
                        sql="select * from case order by id desc"
                        rst.open sql,conn,1,1
                        if rst.eof and rst.bof then
                        response.write"还未添加图片..."
                        else
                        do while not rst.eof
                        %>
                        <img src="<%=rst("PictureUrl")%>" />
                        <%
                        rst.movenext
                        Loop
                        %>
                        <div class="clr">
                        </div>
                        <%
                        rst.close
                        set rst=nothing
                        end if
                        %>
                    </div>
                </div>
                <a id="back" href="javascript:;" class="back">&gt;</a>
                <div class="clr">
                </div>

                <script type="text/javascript">
                    if ((imgs = $('#runer img')).length > 0) {
                        $('#dancer').attr('src', $(imgs[0]).attr('src'));
                    }
                </script>

            </div>
        </div>
        <!--#include file="foot.asp"-->
    </div>

    <script src="Content/Scripts/nav.js" type="text/javascript"></script>

    <script src="Content/Scripts/gallery.js" type="text/javascript"></script>

</body>
</html> 